package com.bysj.dao;

import com.bysj.entity.TopicReply;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TopicReplyDao {
    //插入贴子评论
    void addTopicReply(TopicReply topicReply);
    //查询当前贴子的所有评论
    List<TopicReply> getTopicReplyById(Integer id);
    //根据id删除评论
    void deleteReplyById(Integer id);
}
